home *** CD-ROM | disk | FTP | other *** search
-
-
-
- hhhhoooossssttttnnnnaaaammmmeeee((((5555)))) hhhhoooossssttttnnnnaaaammmmeeee((((5555))))
-
-
-
- NNNNAAAAMMMMEEEE
- hostname - hostname resolution description
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Hostnames are domains, where a domain is a hierarchical, dot-separated
- list of subdomains; for example, the machine monet, in the Berkeley
- subdomain of the EDU subdomain of the Internet would be represented as
-
- _m_o_n_e_t._B_e_r_k_e_l_e_y._E_D_U
-
- (with no trailing dot).
-
- Hostnames are often used with network client and server programs, which
- must generally translate the name to an address for use. (This function
- is generally performed by the library routine _g_e_t_h_o_s_t_b_y_n_a_m_e(3N).)
- Hostnames are resolved by the Internet name resolver in the following
- fashion.
-
- If the name consists of a single component, i.e., contains no dot, and if
- the environment variable ``HOSTALIASES'' is set to the name of a file,
- that file is searched for a string matching the input hostname. The file
- should consist of lines made up of two white-space separated strings, the
- first of which is the hostname alias, and the second of which is the
- complete hostname to be substituted for that alias. For example, to
- refer to the host ``matisse.painters.org'' with the alias ``henri'', use
-
- _h_e_n_r_i _m_a_t_i_s_s_e._p_a_i_n_t_e_r_s._o_r_g
-
- If a case-insensitive match is found between the hostname to be resolved
- and the first field of a line in the file, the substituted name is looked
- up with no further processing.
-
- If the input name ends with a trailing dot, the trailing dot is removed,
- and the remaining name is looked up with no further processing.
-
- If the input name does not end with a trailing dot, it is looked up by
- searching through a list of domains until a match is found. The default
- search list includes first the local domain, then its parent domains with
- at least 2 name components (longest first).
-
- For example, in the domain CS.Berkeley.EDU, the name _l_i_t_h_i_u_m._C_C_h_e_m will
- be checked first as
-
- _l_i_t_h_i_u_m._C_C_h_e_m._C_S._B_e_r_k_e_l_e_y._E_D_U
-
- and then as
-
- _l_i_t_h_i_u_m._C_C_h_e_m._B_e_r_k_e_l_e_y._E_D_U.
-
- Lithium.CChem.EDU will not be tried, as there is only one component
- remaining from the local domain. The search path can be changed from the
- default by the _r_e_s_o_l_v._c_o_n_f system-wide configuration file. See the
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- hhhhoooossssttttnnnnaaaammmmeeee((((5555)))) hhhhoooossssttttnnnnaaaammmmeeee((((5555))))
-
-
-
- descriptions of the sssseeeeaaaarrrrcccchhhh keyword in _r_e_s_o_l_v_e_r(4).
-
- NNNNOOOOTTTTEEEE
- Hostnames (and usernames) must be encoded in ASCII.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- named(1M), gethostbyname(3N), resolver(3N), hosts(4), resolver(4)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-